package com.tjetc.domain;

import java.util.Date;
import java.util.List;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class RankRecord {
    /**
     * 挂号记录id
     */
    private Integer id;

    /**
     * 就诊人id
     */
    private Integer pid;

    /**
     * 医生排班id
     */
    private Integer scheduleId;

    /**
     * 挂号时间
     */
    private Date time;

    /**
     * 排号次序
     */
    private Integer order;

    /**
     * 0预约成功1已完成2已取消3就诊中4已过号5已取号
     */
    private Integer state;

    /**
     * 诊断结果,医嘱等
     */
    private String result;

    /**
     * 就诊类型0是自费,1是北京医保,2是异地医保
     */
    private Integer type;

    /**
     * 医院id
     */
    private Integer hid;

    String addr;

    /**
     * 取消时间
     */
    private Date canceltime;

    private Scheduling scheduling;

    private Patient patient;

    List<CheckRecord> checkRecordList;


}